BlueCielo Publisher 2012 Administrator's Guide | BlueCielo ECM Solutions

You are here: VBScript reference > About the event procedures > About the Publisher destination events > PublisherDestinationEvent_AfterPublish event

PublisherDestinationEvent_AfterPublish event

Occurs in the destination vault after publishing has ended.

Syntax
PublisherDestinationEvent_AfterPublish (sourceType, sourceAddress, _
    sourceDocId, publishOptions)
Parameters
Parameter Description

PublishOptions

The publishing options that were applied to the job. If the options were specified in the source system client application, they are passed in this parameter. For information about the publishing options supported by a specific system link, see the system link description in About the standard modules.

SourceType

The name of the destination system link, for example, BC Meridian or Windows file system.

SourceAddress

The address of the destination system as shown on the BlueCielo Application Manager Destination page, for example, DataStoreName @ MachineName for the  BlueCielo Meridian Enterprise link.

SourceDocId

The ID of document in the source system.

Example
Public Sub PublisherDestinationEvent_AfterPublish(sourceType, sourceAddress, _
    sourceDocId, publishOptions)
    Document.Log _
	"Published: " & _ 
	"From " & sourceType & " '" & sourceAddress & "'" & _ 
	" document with ID '" & sourceDocId & "'" & _
	" with options '" & publishOptions & "'"
End Sub

Related concepts

VBScript reference

About the Publisher source events

About the Publisher destination events

Related information

PublisherSourceEvent_BeforePublish event

PublisherSourceEvent_AfterPublish event


Copyright © 2000-2012 BlueCielo ECM Solutions

www.bluecieloecm.com